let oSpan = document.querySelectorAll("span");
let oUl = document.querySelector("ul");
let oDov = document.querySelector(".nav");
let screenWidth = document.body.clientWidth;
console.log(screenWidth);
console.log(document.body.clientWidth);
oSpan[oSpan.length - 1].onclick = function (e) {
  e.stopPropagation();
  oDov.style.height = 300 + "px";
  oUl.style.display = "block";
  document.onclick = function () {
    oUl.style.display = "none";
    oDov.style.height = 48 + "px";
  };
};
